[quality] ratchet up 10 stale Go coverage baselines to actual values#19761
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for kubestellarconsole ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Hey @kubestellar-hive[bot] — thanks for opening this PR!
This is an automated message. |
101277f to
5567001
Compare
d17325c to
da96703
Compare
ZachDreamZ
left a comment
There was a problem hiding this comment.
Data-only change to coverage ratchet file. No code risk. One note: 12 of 16 compliance packages jump to exactly 100.0 which is unusual. Worth spot-checking a couple with go test -cover to confirm these aren't measurement artifacts (e.g. packages with no testable code reporting 100%). Otherwise LGTM.
|
@ZachDreamZ: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
c8cb830 to
c69afc9
Compare
e80f76b to
42170f6
Compare
42170f6 to
9a9c82a
Compare
Updates go-package-coverage-ratchet.txt to reflect actual measured coverage. Many packages had significantly outdated baselines: Supporting packages (12 updates): - pkg/ai: 0.0 → 100.0 - pkg/models: 0.0 → 100.0 - pkg/safego: 65.0 → 100.0 - pkg/stellar: 80.0 → 100.0 - pkg/sanitize: 85.0 → 100.0 - pkg/rewards: 95.0 → 100.0 - pkg/notifications: 75.0 → 78.5 - pkg/watcher: 67.1 → 72.8 - pkg/settings: 75.0 → 77.1 - pkg/kagent: 85.0 → 86.2 - pkg/mcp: 65.0 → 67.2 - pkg/fileutil: 50.0 → 54.2 Compliance packages (16 updates): - 10 packages at 100.0% (were 55-75%): fedramp, hipaa, nist80053, slsa, sbom, signing, licenses, stig, baa, airgap, frameworks, reports - pkg/gxp: 60.0 → 98.0 - pkg/changecontrol: 60.0 → 95.3 - pkg/sod: 60.0 → 88.5 - pkg/residency: 65.0 → 85.5 Stale baselines defeat the purpose of ratcheting — coverage can silently regress back to the old floor without triggering a failure. Signed-off-by: Quality Agent <quality-agent@kubestellar.io>
9a9c82a to
bb2a4fc
Compare
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
|
Post-merge build verification passed ✅ Both Go and frontend builds compiled successfully against merge commit |
Test Improvement
Ratchets up 28 stale Go coverage baselines to actual measured values. Many packages were at 100% coverage but the ratchet file listed 0-75%, allowing silent regressions.
Key corrections
All values verified via
go test -cover.Filed by quality agent (hold-gated mode). Human review required.